import request from '@/utils/request'
import api from '@/api/api'

export function getDocsListApi(data) {
    return request.get(api.getDocsList, data, 1);
}

export function getKbsListApi(data) {
  return request.get(api.getKbsList, data, 1);
}

export function uploadFileApi(data) {
  return request.upload(api.uploadFile, data, 1);
}

export function uploadFilesApi(data) {
  return request.upload(api.uploadFiles, data, 1);
}

export function localDocChatApi(data) {
  return request.post(api.localDocChat, data, 1);
}